var vm = new Vue({
	el: '#app',
	
	data:{
    },
    
	methods: {
		
        //初始执行
        init() {},
        
    	//去练习
    	goPractice: function (TYPE){
    		 var diag = new top.Dialog();
    		 diag.Drag=true;
    		 diag.Title ="练习";
    		 diag.URL = '../../exam/practice/goPractice.html?QTYPE='+TYPE;
    		 diag.Width = 800;
    		 diag.Height = 600;
    		 diag.Modal = true;				//有无遮罩窗口
    		 diag. ShowMaxButton = true;	//最大化按钮
    	     diag.ShowMinButton = true;		//最小化按钮 
    		 diag.CancelEvent = function(){ //关闭事件
    			diag.close();
    		 };
    		 diag.show();
    	}
		
	},
	
	mounted(){
        this.init();
    }
})